#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :


import threading

data_list = list()


def add_list():
    for _ in range(1000000):
        data_list.append(_)
        print(len(data_list))


for i in range(2):
    t = threading.Thread(target=add_list)
    t.start()
